package public

import "time"

type DataVal struct {
	TimeStamp string  `json:"date,omitempty"`
	Key       string  `json:"key"`
	Val       float32 `json:"val"`
	RegAddr   int32   `json:"reg_addr"`
}

type ReportDataMsg struct {
	TimeStamp time.Time `json:"time_stamp,optional"`
	DevName   string    `json:"dev_name"`
	DevType   string    `json:"dev_type"`
	ParaType  string    `json:"para_type"`
	Data      []DataVal `json:"data"`
}
